package com.daz.common.component.constant.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @description 响应枚举
 * @author dingazheng
 * @since 2024/06/29
 */
@AllArgsConstructor
@Getter
public enum ResponseEnum {
    SUCCESS(200,"成功"),
    FAILURE(500,"服务器错误"),
    FILE_SIZE_ERROR(500, "文件大小异常");
    private Integer code;
    private String message;
}
